package cn.kz.hrm.service;

import cn.kz.hrm.domain.Course;
import cn.kz.hrm.dto.CourseDto;
import cn.kz.hrm.query.CourseQuery;
import cn.kz.hrm.util.AjaxResult;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author kz
 * @since 2020-06-29
 */
public interface ICourseService extends IService<Course> {

    void saveOrUpdate(CourseDto courseDto);

    void onLineCourse(Long id);

    void offLineCourse(Long id);

    AjaxResult getQueryCourses(CourseQuery courseQuery);

    CourseDto getCourseById(Long id);
}
